import {request} from "@/network/request";

//根据歌曲id获取歌曲的url
export function getSongUrl(id) {
    return request({
        url: '/song/url',
        params: {
            id: id
        }
    })
}

//根据歌单ID获取歌单详情
export function getPlaylistDetails(id) {
    return request({
        url: '/playlist/detail',
        params: {
            id: id
        }
    })
}

//根据歌曲ID获取歌曲详情
export function getSongDetail(ids){
    return request({
        url:'/song/detail',
        params:{
            ids:ids,
        }
    })
}
